package org.example

interface T1Mapper {
    Map selectOneByCol2(String col2)

    List<Map> selectAllByCol2(String col2)

    T1 findByCol2(String col2)

    List<T1> findAllByCol2(String col2)

    Boolean insertT1(T1 t1)

    Integer insertT1Map(Map params)

    Boolean updateT1ByCol1(T1 t1)

    Integer updateT1MapByCol1(Map params)

    Integer delete(Integer col1)
}

class T1 {
    Integer col1
    String col2
}